package com.yuwei.database.entity

import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import com.yuwei.database.Converters

class GoodsEntity : ArrayList<GoodsEntityItem>()
@Entity(tableName = "goods_info")
@TypeConverters(Converters::class)
data class GoodsEntityItem(
    val bannerList: List<String>,
    val category_id: Int,
    val goods_attribute: String,
    val goods_banner: String,
    val goods_code: String,
    val goods_default_icon: String,
    var goods_default_price: Int,
    val goods_desc: String,
    val goods_detail_one: String,
    val goods_detail_two: String,
    val goods_sales_count: Int,
    val goods_stock_count: Int,
    @PrimaryKey
    val id: Int
):java.io.Serializable